package com.wash.shoes.resp;

import com.ruoyi.common.core.domain.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@Builder
@Data
@ApiModel("质检记录")
public class QualityInspectRecordResp extends BaseModel {

    private String id;

    @ApiModelProperty(value = "物品类型")
    private String itemType;

    @ApiModelProperty(value = "水洗码")
    private String washCode;

    @ApiModelProperty(value = "图片")
    private List<String> images;

    @ApiModelProperty(value = "配饰")
    private List<Accessories> accessories;
    @ApiModelProperty(value = "备注")
    private List<String> remarks;

    @ApiModelProperty(value = "货架编码")
    private String srgCode;

    /**
     * 配饰记录
     */
    @Data
    @Builder
    public static class Accessories extends BaseModel{
        @ApiModelProperty(value = "配饰名称")
        private String name;
        @ApiModelProperty(value = "水洗码")
        private String washCode;
        @ApiModelProperty(value = "状态 是否质检 0 未质检 1已质检")
        private int status;
    }
}